﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YetAnotherChat.ChatCore.Models;

namespace YetAnotherChat.MemoryStorage.Interfaces
{
    public interface IChatMessageStore
    {
        void AddMessages(ChatMessage[] messages);
        ChatMessage[] GetChatMessage(Guid topicGuid, Guid userId, DateTime fromTime, DateTime? toTime=null);
    }
}
